package com.org.daniel.service.manager;

import com.org.daniel.mapper.manager.ManagerUserMapper;
import com.org.daniel.module.entity.manager.ManagerUser;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Daniel
 */
@Service
public class ManagerUserService {
	private static Logger logger = LoggerFactory.getLogger(ManagerUserService.class);

	@Autowired
	private ManagerUserMapper managerUserMapper;

	public ManagerUser findBySeq(String seq){
		return managerUserMapper.queryBySeq(seq);
	}

	public ManagerUser findByUsername(String username){
		return managerUserMapper.queryByUsername(username);
	}
}
